import { request } from '@/utils/common';
import { BasePrefixEnum } from '@/enums/commonEnum';
import { DoLoginParams } from './model/testModel';

export enum TestManageApiEnum {
  TEST = `${BasePrefixEnum.MJ_MSP_URL}/auth/doLogin`,
  LIST = `${BasePrefixEnum.MJ_MSP_URL}/adUser/list`
}

const testManageApi = {
  doLogin: (data: DoLoginParams) => request(TestManageApiEnum.TEST, data),
  getList: (data: any) => request(TestManageApiEnum.LIST, data, 'GET')
};

export default testManageApi;
